{% extends 'base.html' %}
{% block title %}首页{% endblock %}
{% block head %}
    <link rel="stylesheet" href="{{ url_for('static', filename='css/index.css') }}">
{% endblock %}
{% block main %}
    <div class="panel panel-default">
        <!-- Default panel contents -->
        <div class="panel-heading">日志管理</div>

        <!-- Table -->
        <table class="table">
            <tr>
                <th>日志列表</th>
                <th>操作</th>
            </tr>
            {% for log in logs %}
                <tr>
                    <td>{{ log }}</td>
                    <td>
                        <button type="submit" class="btn btn-primary" value="delete">删除</button>
                    </td>
                </tr>
            {% endfor %}
        </table>
    </div>
{% endblock %}